package com.cyf.util;

import java.text.DecimalFormat;

/**
 * Created by hfy on 2018/5/19.
 */
public class DoubleUtil {

    public static String format(double d) {
        DecimalFormat df = new DecimalFormat("0.00");
        return df.format(d);
    }
}
